/*
 * @Author: CQJ
 * @Date: 2022-08-28 23:33:11
 * @LastEditors: CQJ
 * @LastEditTime: 2022-09-08 11:12:01
 * @Description:
 */
export const articleData = [
  {
    id: '00122', //文章分类id
    classify: '分类',
    articleCover: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    articleNumber: '1000', //文章数量
    status: 1,
    level: 1, //父级或子级
    children: [
      {
        id: '00126', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      },
      {
        id: '00127', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      },
      {
        id: '00128', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      }
    ]
  },
  {
    id: '00123', //文章id
    classify: '分类',
    articleCover: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    articleNumber: '1000',
    status: 1,
    level: 1, //父级或子级
    children: [
      {
        id: '00129', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      }
    ]
  },
  {
    id: '00124', //文章id
    classify: '分类', //分类名
    articleCover: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', //文章封面
    articleNumber: '1000', //文章数量
    status: 1, //状态
    level: 1, //父级或子级
    children: [
      {
        id: '00130', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      }
    ]
  },
  {
    id: '00125', //文章id
    classify: '分类',
    articleCover: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    articleNumber: '1000',
    status: 1,
    level: 1, //父级或子级
    children: [
      {
        id: '00131', //文章分类id
        classify: '子类',
        articleCover: '',
        articleNumber: '1000',
        status: 1,
        level: 2 //父级或子级
      }
    ]
  }
]
export const column = [
  {
    title: '分类/子类名称',
    key: 'name',
    dataIndex: 'name',
    width: 230
  },
  // {
  //   title: '排序',
  //   key: 'sort',
  //   width: 100
  // },

  {
    title: '分类ID',
    dataIndex: 'id',
    key: 'id'
  },

  {
    title: '分类封面',
    key: 'cover',
    dataIndex: 'cover'
  },
  {
    title: '文章数量',
    key: 'article_count',
    dataIndex: 'article_count'
  },
  {
    title: '状态',
    key: 'status',
    dataIndex: 'status'
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right'
  }
]
